<?php

class SJB_Admin_Users_GetTree extends SJB_Function
{
	public function execute()
	{
		$treeHelper = new SJB_TreeHelper('user');
		$treeHelper->init();

		if ($treeHelper->get_displayAsSelectBoxes())
			$treeHelper->getDisplayAsSelectBoxes();
		else
			$treeHelper->getDisplayAsTree();

		exit();
	}
}